\hypertarget{struct_a_l_s_edge_factors_program}{\section{A\-L\-S\-Edge\-Factors\-Program Struct Reference}
\label{struct_a_l_s_edge_factors_program}\index{A\-L\-S\-Edge\-Factors\-Program@{A\-L\-S\-Edge\-Factors\-Program}}
}
Inheritance diagram for A\-L\-S\-Edge\-Factors\-Program\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{struct_a_l_s_edge_factors_program}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{struct_a_l_s_edge_factors_program_a71a6c8e94e89219883d740d40aa954f5}{virtual void {\bfseries set\-\_\-latent\-\_\-factor} (\hyperlink{classgraphchi_1_1graphchi__vertex}{graphchi\-\_\-vertex}$<$ Vertex\-Data\-Type, Edge\-Data\-Type $>$ \&vertex, \hyperlink{structlatentvec__t}{latentvec\-\_\-t} \&fact)}\label{struct_a_l_s_edge_factors_program_a71a6c8e94e89219883d740d40aa954f5}

\item 
void \hyperlink{struct_a_l_s_edge_factors_program_a7d1185171e5172f9f36116399839144a}{update} (\hyperlink{classgraphchi_1_1graphchi__vertex}{graphchi\-\_\-vertex}$<$ Vertex\-Data\-Type, Edge\-Data\-Type $>$ \&vertex, \hyperlink{structgraphchi_1_1graphchi__context}{graphchi\-\_\-context} \&gcontext)
\item 
void \hyperlink{struct_a_l_s_edge_factors_program_af42abf2a610775eb04c6d86c380e9af4}{before\-\_\-iteration} (int iteration, \hyperlink{structgraphchi_1_1graphchi__context}{graphchi\-\_\-context} \&gcontext)
\item 
void \hyperlink{struct_a_l_s_edge_factors_program_a42253a307302cab9a42b44d78cadf57a}{after\-\_\-iteration} (int iteration, \hyperlink{structgraphchi_1_1graphchi__context}{graphchi\-\_\-context} \&gcontext)
\item 
void \hyperlink{struct_a_l_s_edge_factors_program_a2986001d68d1195e1c3c4e2e52e6d405}{before\-\_\-exec\-\_\-interval} (vid\-\_\-t window\-\_\-st, vid\-\_\-t window\-\_\-en, \hyperlink{structgraphchi_1_1graphchi__context}{graphchi\-\_\-context} \&gcontext)
\item 
void \hyperlink{struct_a_l_s_edge_factors_program_a20c35d6d2fbb937408f2bba3fe68bf5d}{after\-\_\-exec\-\_\-interval} (vid\-\_\-t window\-\_\-st, vid\-\_\-t window\-\_\-en, \hyperlink{structgraphchi_1_1graphchi__context}{graphchi\-\_\-context} \&gcontext)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
Graph\-Chi programs need to subclass Graph\-Chi\-Program$<$vertex-\/type, edge-\/type$>$ class. The main logic is usually in the update function. 

\subsection{Member Function Documentation}
\hypertarget{struct_a_l_s_edge_factors_program_a20c35d6d2fbb937408f2bba3fe68bf5d}{\index{A\-L\-S\-Edge\-Factors\-Program@{A\-L\-S\-Edge\-Factors\-Program}!after\-\_\-exec\-\_\-interval@{after\-\_\-exec\-\_\-interval}}
\index{after\-\_\-exec\-\_\-interval@{after\-\_\-exec\-\_\-interval}!ALSEdgeFactorsProgram@{A\-L\-S\-Edge\-Factors\-Program}}
\subsubsection[{after\-\_\-exec\-\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}void A\-L\-S\-Edge\-Factors\-Program\-::after\-\_\-exec\-\_\-interval (
\begin{DoxyParamCaption}
\item[{vid\-\_\-t}]{window\-\_\-st, }
\item[{vid\-\_\-t}]{window\-\_\-en, }
\item[{{\bf graphchi\-\_\-context} \&}]{gcontext}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{struct_a_l_s_edge_factors_program_a20c35d6d2fbb937408f2bba3fe68bf5d}
Called after an execution interval has finished. 

Reimplemented from \hyperlink{classgraphchi_1_1_graph_chi_program_a9be881d1232e530c8d1852188cc8a84d}{graphchi\-::\-Graph\-Chi\-Program$<$ Vertex\-Data\-Type, Edge\-Data\-Type $>$}.

\hypertarget{struct_a_l_s_edge_factors_program_a42253a307302cab9a42b44d78cadf57a}{\index{A\-L\-S\-Edge\-Factors\-Program@{A\-L\-S\-Edge\-Factors\-Program}!after\-\_\-iteration@{after\-\_\-iteration}}
\index{after\-\_\-iteration@{after\-\_\-iteration}!ALSEdgeFactorsProgram@{A\-L\-S\-Edge\-Factors\-Program}}
\subsubsection[{after\-\_\-iteration}]{\setlength{\rightskip}{0pt plus 5cm}void A\-L\-S\-Edge\-Factors\-Program\-::after\-\_\-iteration (
\begin{DoxyParamCaption}
\item[{int}]{iteration, }
\item[{{\bf graphchi\-\_\-context} \&}]{gcontext}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{struct_a_l_s_edge_factors_program_a42253a307302cab9a42b44d78cadf57a}
Called after an iteration has finished. 

Reimplemented from \hyperlink{classgraphchi_1_1_graph_chi_program_a24259d43b85d28af16d53a4176d29a07}{graphchi\-::\-Graph\-Chi\-Program$<$ Vertex\-Data\-Type, Edge\-Data\-Type $>$}.

\hypertarget{struct_a_l_s_edge_factors_program_a2986001d68d1195e1c3c4e2e52e6d405}{\index{A\-L\-S\-Edge\-Factors\-Program@{A\-L\-S\-Edge\-Factors\-Program}!before\-\_\-exec\-\_\-interval@{before\-\_\-exec\-\_\-interval}}
\index{before\-\_\-exec\-\_\-interval@{before\-\_\-exec\-\_\-interval}!ALSEdgeFactorsProgram@{A\-L\-S\-Edge\-Factors\-Program}}
\subsubsection[{before\-\_\-exec\-\_\-interval}]{\setlength{\rightskip}{0pt plus 5cm}void A\-L\-S\-Edge\-Factors\-Program\-::before\-\_\-exec\-\_\-interval (
\begin{DoxyParamCaption}
\item[{vid\-\_\-t}]{window\-\_\-st, }
\item[{vid\-\_\-t}]{window\-\_\-en, }
\item[{{\bf graphchi\-\_\-context} \&}]{gcontext}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{struct_a_l_s_edge_factors_program_a2986001d68d1195e1c3c4e2e52e6d405}
Called before an execution interval is started. 

Reimplemented from \hyperlink{classgraphchi_1_1_graph_chi_program_ab2f7244ddb743deb859dbc2fc927078a}{graphchi\-::\-Graph\-Chi\-Program$<$ Vertex\-Data\-Type, Edge\-Data\-Type $>$}.

\hypertarget{struct_a_l_s_edge_factors_program_af42abf2a610775eb04c6d86c380e9af4}{\index{A\-L\-S\-Edge\-Factors\-Program@{A\-L\-S\-Edge\-Factors\-Program}!before\-\_\-iteration@{before\-\_\-iteration}}
\index{before\-\_\-iteration@{before\-\_\-iteration}!ALSEdgeFactorsProgram@{A\-L\-S\-Edge\-Factors\-Program}}
\subsubsection[{before\-\_\-iteration}]{\setlength{\rightskip}{0pt plus 5cm}void A\-L\-S\-Edge\-Factors\-Program\-::before\-\_\-iteration (
\begin{DoxyParamCaption}
\item[{int}]{iteration, }
\item[{{\bf graphchi\-\_\-context} \&}]{gcontext}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{struct_a_l_s_edge_factors_program_af42abf2a610775eb04c6d86c380e9af4}
Called before an iteration starts. 

Reimplemented from \hyperlink{classgraphchi_1_1_graph_chi_program_aec6d16fd6dddf1543afe55360a653cf2}{graphchi\-::\-Graph\-Chi\-Program$<$ Vertex\-Data\-Type, Edge\-Data\-Type $>$}.

\hypertarget{struct_a_l_s_edge_factors_program_a7d1185171e5172f9f36116399839144a}{\index{A\-L\-S\-Edge\-Factors\-Program@{A\-L\-S\-Edge\-Factors\-Program}!update@{update}}
\index{update@{update}!ALSEdgeFactorsProgram@{A\-L\-S\-Edge\-Factors\-Program}}
\subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void A\-L\-S\-Edge\-Factors\-Program\-::update (
\begin{DoxyParamCaption}
\item[{{\bf graphchi\-\_\-vertex}$<$ Vertex\-Data\-Type, Edge\-Data\-Type $>$ \&}]{vertex, }
\item[{{\bf graphchi\-\_\-context} \&}]{gcontext}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{struct_a_l_s_edge_factors_program_a7d1185171e5172f9f36116399839144a}
Vertex update function. 

Implements \hyperlink{classgraphchi_1_1_graph_chi_program_ad76f8881627e3c039144e261bfc77770}{graphchi\-::\-Graph\-Chi\-Program$<$ Vertex\-Data\-Type, Edge\-Data\-Type $>$}.



The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
example\-\_\-apps/matrix\-\_\-factorization/\hyperlink{als__edgefactors_8cpp}{als\-\_\-edgefactors.\-cpp}\end{DoxyCompactItemize}
